package com.jiuyuan;

import com.jiuyuan.entity.MailConstant;
import org.mybatis.spring.SqlSessionFactoryBean;
import org.springframework.amqp.core.Queue;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Bean;


/**
 * @program: hrms
 * @description:
 * @author: Feng
 * @create: 2023-02-15 07:58
 **/

//@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@SpringBootApplication
public class MailApplication {
    public static void main(String[] args) {
        SpringApplication.run(MailApplication.class,args);
    }

//    @Bean
//    public Queue queue(){
//        return new Queue(MailConstant.MAIL_QUEUE_NAME);
//    }
}
